﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="joinvip.aspx.cs" ValidateRequest="false"
    Inherits="John.joinvip" %>

<%@ Register TagPrefix="uc1" TagName="pageFooter" Src="pageFooter.ascx" %>
<%@ Register TagPrefix="uc1" TagName="pageHeader" Src="pageHeader.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
    <title>注册会员--中国筛网城 (产品展示，产品供应，产品求购，创业加盟，企业单位展示)--中国筛网城 (产品展示，产品供应，产品求购，创业加盟，企业单位展示)</title>
    <link href="style/style.css" type="text/css" rel="stylesheet">
</head>
<body>
    <uc1:pageHeader ID="PageHeader1" runat="server"></uc1:pageHeader>
    <table class="ZWenbg" cellspacing="2" cellpadding="2" width="90%">
        <tr>
            <td align="center" valign="top">
                <!-- 正文开始{ -->
                <form id="Form1" method="post" runat="server">
                    <table id="Table2" cellspacing="1" cellpadding="1" border="0" width="760">
                        <tr>
                            <td>
                                <strong>请认真、仔细地填写以下信息，严肃的商业信息有助于您获得别人的信任，结交潜在的商业伙伴，获取商业机会！</strong> <strong></strong>
                                填写注册信息(带<font color="#ff6600">*</font>的为必填项)
                                <table id="Table1" cellspacing="1" cellpadding="1" width="760" border="0">
                                    <tr>
                                        <td style="height: 18px">
                                            <strong><span style="font-size: 14pt; color: silver"></span></strong></td>
                                        <td style="height: 18px">
                                            <span style="font-size: 14pt; color: #c0c0c0;"><strong>会员登录名和密码</strong></span></td>
                                    </tr>
                                    <tr>
                                        <td align="right"  valign="top">
                                            会员名:<font color="#ff6600">*</font></td>
                                        <td align="left" style="width: 249px">
                                            <asp:TextBox ID="TextBox1" runat="server" Width="200px" MaxLength="20"></asp:TextBox>
                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" ErrorMessage="输入的会员名不正确！"
                                                ValidationExpression="\w{5,20}" Font-Size="12px" ControlToValidate="TextBox1"
                                                Display="Dynamic"></asp:RegularExpressionValidator>
                                            
                                            5-20个字符(包括小写字母、数字、下划线),一旦注册成功会员名不能修改。</td>
                                        <td>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right"  valign="top">
                                            密码:<font color="#ff6600">*</font></td>
                                        <td align="left" style="width: 249px">
                                            <asp:TextBox ID="TextBox2" runat="server" Width="200px" TextMode="Password"></asp:TextBox><asp:RequiredFieldValidator
                                                ID="RequiredFieldValidator1" runat="server" Font-Size="12px" ControlToValidate="TextBox2"
                                                ErrorMessage="密码不能为空！"></asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" Font-Size="12px"
                                                ControlToValidate="TextBox2" ErrorMessage="输入的密码位数不正确！" ValidationExpression="[a-zA-Z0-9]{6,18}"
                                                Display="Dynamic"></asp:RegularExpressionValidator>
                                            
                                            密码需为6-18位，可为（小写字母a-z,大写字A-Z，数字0-9）。
                                        </td>
                                        <td>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" valign="top">
                                            确认密码:<font color="#ff6600">*</font></td>
                                        <td align="left">
                                            <asp:TextBox ID="TextBox3" runat="server" Width="200px" TextMode="Password"></asp:TextBox>
                                            <asp:CompareValidator ID="CompareValidator1" runat="server" Font-Size="12px" Width="200px"
                                                ControlToValidate="TextBox3" ControlToCompare="TextBox2" ErrorMessage="两次输入的密码不同，请输重新输入!"
                                                Display="Dynamic"></asp:CompareValidator>
                                            再次输入密码</td>
                                        <td align="left">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <strong><span style="font-size: 14pt; color: silver"></span></strong></td>
                                        <td>
                                            <span style="font-size: 14pt; color: #c0c0c0;"><strong>姓名和联系方式</strong></span></td>
                                    </tr>
                                    <tr>
                                        <td align="right" valign="top">
                                            性别:<font color="#ff6600">*</font></td>
                                        <td align="left" style="width: 249px">
                                            <asp:RadioButtonList ID="Radio" runat="server" Font-Size="12px" Width="60px" RepeatDirection="Horizontal">
                                                <asp:ListItem Value="男" Selected="True">男&nbsp;&nbsp;&nbsp;&nbsp;</asp:ListItem>
                                                <asp:ListItem Value="女">女</asp:ListItem>
                                            </asp:RadioButtonList>
                                            (一旦注册成功不能修改)</td>
                                        <td align="left">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" valign="top" >
                                            真实姓名:<font color="#ff6600">*</font>&nbsp;</td>
                                        <td align="left" style="width: 249px">
                                            <asp:TextBox ID="TextBox7" runat="server" Width="200px"></asp:TextBox>
                                            (一旦注册成功不能修改)<asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" Font-Size="12px"
                                                ControlToValidate="TextBox7" ErrorMessage="真实姓名不能为空！"></asp:RequiredFieldValidator></td>
                                        <td align="left">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" valign="top">
                                            您的职位:<font color="#ff6600">*</font></td>
                                        <td align="left" style="width: 249px">
                                            <asp:TextBox ID="TextBox9" runat="server" Width="200px"></asp:TextBox>
                                        </td>
                                        <td align="left">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" valign="top">
                                            传真:&nbsp;</td>
                                        <td align="left" style="width: 249px">
                                            <asp:TextBox ID="TextBox10" runat="server" Width="200px"></asp:TextBox></td>
                                        <td align="left">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" valign="top">
                                            固定电话:<font color="#ff6600">*</font></td>
                                        <td align="left" style="width: 249px">
                                            <asp:TextBox ID="TextBox11" runat="server" Width="200px"></asp:TextBox>
                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator6" runat="server" Font-Size="12px"
                                                Width="192px" ControlToValidate="TextBox11" ValidationExpression="^[0]\d{3}[-]\d{8}$|\d{11}"
                                                ErrorMessage="输入的电话号码有误！请重新输入！"></asp:RegularExpressionValidator>
                                            <br />
                                            
                                            手机或固定电话 如:0000-12345678或13512345678
                                        </td>
                                        <td align="left">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" valign="top">
                                            邮政编码:<font color="#ff6600">*</font></td>
                                        <td align="left" style="width: 249px">
                                            <asp:TextBox ID="TextBox15" runat="server" Width="200px"></asp:TextBox>
                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator5" runat="server" Font-Size="12px"
                                                ControlToValidate="TextBox15" ValidationExpression="\d{6}" ErrorMessage="输入邮政编码有误！请重新输入！"></asp:RegularExpressionValidator>&nbsp;</td>
                                        <td align="left">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" valign="top" >
                                            电子邮件:<font color="#ff6600">*</font></td>
                                        <td align="left">
                                            <asp:TextBox ID="TextBox4" runat="server" Width="200px"></asp:TextBox>(一旦注册成功不能修改)
                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" Font-Size="12px"
                                                ErrorMessage="电子邮件格式不正确！请重新输入！" ControlToValidate="TextBox4" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                                                Width="204px"></asp:RegularExpressionValidator></td>
                                        <td>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" style="text-align: left">
                                            <strong><span style="font-size: 14pt; color: silver"></span></strong></td>
                                        <td align="left">
                                            <strong><span style="font-size: 14pt; color: #c0c0c0;">单位名称和主营业务</span></strong></td>
                                        <td>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" valign="top">
                                            单位类型:<span style="color: #ff6600">*</span></td>
                                        <td>
                                            <asp:DropDownList ID="DropDownList1" runat="server">
                                                <asp:ListItem Selected="True">单位单位</asp:ListItem>
                                                <asp:ListItem>个体经营</asp:ListItem>
                                                <asp:ListItem>事业单位</asp:ListItem>
                                                <asp:ListItem>社会团体</asp:ListItem>
                                            </asp:DropDownList>(一旦注册成功不能修改)</td>
                                    </tr>
                                    <tr>
                                        <td align="right"  valign="top">
                                            单位名称<span style="color: #ff6600">*</span>:</td>
                                        <td>
                                            <asp:TextBox ID="TextBox5" runat="server" Width="200px"></asp:TextBox></td>
                                    </tr>
                                    <tr>
                                        <td align="right" valign="top">
                                            单位所在地:<span style="color: #ff6600">*</span></td>
                                        <td>
                                            <asp:DropDownList ID="DropDownList3" runat="server">
                                            </asp:DropDownList></td>
                                    </tr>
                                    <tr>
                                        <td align="right">
                                            <span style="color: #ff6600"><span style="color: #222222">单位地址</span><span style="color: #ff6600">*</span></span></td>
                                        <td>
                                            <asp:TextBox ID="TextBox12" runat="server" Width="200px"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" Font-Size="12px"
                                                ControlToValidate="TextBox12" ErrorMessage="请输入您的联系地址！"></asp:RequiredFieldValidator></td>
                                    </tr>
                                    <tr>
                                        <td align="right" valign="top" >
                                            主营行业<span style="color: #ff6600">*</span></td>
                                        <td>
                                            <asp:DropDownList ID="DropDownList2" runat="server">
                                            </asp:DropDownList></td>
                                    </tr>
                                    <tr>
                                        <td align="right" style="width: 173px; text-align: left;">
                                            <strong><span style="font-size: 14pt; color: silver"></span></strong></td>
                                        <td>
                                            <span style="font-size: 14pt; color: #c0c0c0;"><strong>单位介绍</strong></span></td>
                                    </tr>
                                    <tr>
                                        <td align="right" valign="top">
                                            单位标志:&nbsp;<br />
                                            &nbsp;</td>
                                        <td align="left">
                                            <input id="uploadFile" runat="server" name="uploadFile" onpropertychange="document.all.myimg.src='file:///'+this.value"
                                                type="file" />
                                            <br />
                                            <img id="myimg" border="0" src="userimg/showimg.gif" style="width: 184px; height: 115px" />(一旦注册成功不能修改)(图片格式必须为.gif或.jpg,大小建议:200*128)</td>
                                        <td>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" valign="top">
                                            单位简介<br />
                                            (500字以内)</td>
                                        <td align="left">
                                            <asp:TextBox ID="txtBewrite" runat="server" Columns="30" Rows="10" TextMode="MultiLine"
                                                Width="400"></asp:TextBox></td>
                                        <td>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 173px">
                                        </td>
                                        <td align="left" style="width: 249px">
                                            <asp:Button ID="Button2" runat="server" Font-Size="12px" Width="200px" Text="同意以下服务条款，提交注册信息"
                                                OnClick="Button2_Click"></asp:Button></td>
                                        <td>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                        </td>
                                        <td align="center">
                                        </td>
                                        <td>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </form>
                <!-- }正文结束 -->
            </td>
        </tr>
    </table>
    <uc1:pageFooter ID="PageFooter1" runat="server"></uc1:pageFooter>
</body>
</html>
